<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Printer_name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-printer_name" data-rule="required" class="form-control" name="row[printer_name]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Printer_code')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-printer_code" data-rule="required" class="form-control" name="row[printer_code]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Printer_key')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-printer_key" data-rule="required" class="form-control" name="row[printer_key]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Open_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-open_id" data-rule="required" class="form-control" name="row[open_id]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Apikey')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-apikey" data-rule="required" class="form-control" name="row[apikey]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Print_num')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-print_num" data-rule="required" class="form-control" name="row[print_num]" type="number" value="1">
        </div>
    </div>
    <!--<div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Template_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-template_id" data-rule="required" data-primary-key="template_id" data-source="printer_template/index" class="form-control selectpage" name="row[template_id]" type="text" value="">
        </div>
    </div>-->
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
        </div>
    </div>
</form>
